/***********************************************************************
 * Module:  AppealController.java
 * Author:  Administrator
 * Purpose: Defines the Class AppealController
 ***********************************************************************/

package ishitong.illegalManagement.controller;

import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

/** @pdOid d1f86708-853f-4e01-90f2-fbd1293bf0a2 */
@Controller
public class AppealController extends ishitong.common.controller.ActionController {
   /** @pdOid 04ad1afc-08cf-4eb7-8b38-6dfc3d9899d8 */
   private static final String APP_SCH = "/illegalManagement/appeal/appealSearch";
   /** @pdOid b0351436-6751-4b13-acfc-91b0e81623dd */
   private static final String APP_SCH_LST = "/illegalManagement/appeal/appealSearchList";
   /** @pdOid c42fa3f3-5a94-42a9-9054-c20cf2dd9c25 */
   private static final String APP_ACC = "/illegalManagement/appeal/appealAccept";
   
   /** 查询申诉信息页面初始化
    * 
    * @param request
    * @exception Exception
    * @pdOid 784cd265-c9b4-41bb-b0da-498f36cc4c58 */
   @RequestMapping(value = "/showAppealSearch.do")
   public ModelAndView handleShowAppealSearch(HttpServletRequest request) throws Exception {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(APP_SCH, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /**查询申诉信息
    * 
    *  @param request
    * @pdOid 09da87a2-0d37-4f84-a34b-d9aa37a08756 */
   @RequestMapping(value = "/ajaxAppealSearchList.do", method = RequestMethod.POST)
   public ModelAndView handleAjaxFindAppealSearchList(HttpServletRequest request) {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(APP_SCH_LST, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /** 受理申诉信息初始化
    * 
    * @param request 
    * @param response 
    * @param AppealId
    * @exception Exception
    * @pdOid a19c5875-1758-46e1-ac41-dfdcf66a2e29 */
   @RequestMapping(value = "/ajaxShowAppealAccept.do")
   public ModelAndView handleAjaxShowAppealEdit(HttpServletRequest request, HttpServletResponse response, String appealId) throws Exception {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(APP_ACC, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /** 受理申诉信息
    * 
    * @param request 
    * @param AppealIds 
    * @param response
    * @exception Exception
    * @pdOid d498682d-0d70-4b4e-9933-e3595d6f909f */
   @RequestMapping(value = "/ajaxSaveAppealAccept.do", method = RequestMethod.POST)
   public void handleAjaxSaveAppealAccept(HttpServletRequest request, String appealId, HttpServletResponse response) throws Exception {
   	try {
   
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   }
   
   /** 不受理申诉信息
    * 
    * @param request 
    * @param AppealIds 
    * @param response
    * @exception Exception
    * @pdOid 46d20ede-4e06-4d70-8aab-04c69b16262a */
   @RequestMapping(value = "/ajaxSaveAppeaUnaccept.do", method = RequestMethod.POST)
   public void handleAjaxSaveAppeaUnaccept(HttpServletRequest request, String appealId, HttpServletResponse response) throws Exception {
    try {
     
    } catch (Exception e) {
     e.printStackTrace();
    }
   }
   
   /**通过id删除申诉信息
    * 
    * @param request 
    * @param AppealIds 
    * @param response
    * @exception Exception
    * @pdOid 8730b23c-de9d-424d-90f6-ddbf067bae05 */
   @RequestMapping(value = "/ajaxDeleteAppealByIds.do", method = RequestMethod.POST)
   public void handleAjaxDeleteAppealByIds(HttpServletRequest request, String appealIds, HttpServletResponse response) throws Exception {
   	try {
   
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   }

}